#pragma strict

var appleCount : int; //holds count of apples broken

function Start () {

appleCount = 0; //initialize appleCount
}


function Update () {

//update text mesh with appleCount
GetComponent(TextMesh).text = appleCount.ToString();

}

function Increase () {

	appleCount = appleCount + 1;
}

function Decrease () {

	appleCount = appleCount - 1;
}